# @Time: 2025/3/18 15:59
# @Author: chenhui

from base.ObjectMap import ObjectMap


class ExternalLinkPage(ObjectMap):
    def goto_imooc(self, driver):
        """
        切换窗口句柄为慕课网
        :param driver:
        :return:
        """
        self.switch_window_2_last_handle(driver)
        return driver.title
